build: remove shim related targets
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 23 Feb 2018 10:05:19 +0000 (11:05 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Feb 2018 10:05:19 +0000 (11:05 +0100)
commitb38c4e1763baa448ea34c5f337932f351798c9a1
tree93eef858ada7df4985ea24be4078dcc656b75183
parent28e4db994903e8c10cb9bce3c133b4f3856c981a
build: remove shim related targets

There's no need to have shim specific targets, so just use the regular
xen makefile targets in order to build the shim binary.

When the shim is build as part of the firmware directory install the
stripped Xen binary to the firmware directory and place a binary with
symbols in the debug directory.

The objcopy step of the shim build is also removed in this patch:
since the shim is booted in PVH mode there's no need for the resulting
binary to be in elf32 format. Xen can load PVH kernels with either a
32 or 64bit elf header.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/firmware/Makefile
tools/firmware/xen-dir/Makefile
xen/Makefile
xen/arch/x86/Makefile